package ca.clarity.hms.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.Window;
import android.widget.Button;

/**
 * Setting's Activity
 *
 * @author Junghun, Shin
 */
public class HmsSettingActivity extends Activity {

    // 뒤로 가기 버튼.
    Button patientListBackButton;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);


        // 커스텀 타이틀 바를 설정 한다.
        Window window = getWindow();
        window.requestFeature(Window.FEATURE_CUSTOM_TITLE);

        setContentView(R.layout.activity_hms_setting);

        window.setFeatureInt(Window.FEATURE_CUSTOM_TITLE,
                R.layout.custom_title_bar_patient_registration);

        // 뒤로 가기 버튼.
        patientListBackButton = (Button) findViewById(R.id.patientListBackButton);
        patientListBackButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        //getMenuInflater().inflate(R.menu.hms_village, menu);
        return true;
    }

}
